home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcpdial.arc
/
BOSTON.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1988-01-05
|
3KB
|
184 lines
ASSI S7 " "
ASSI S0 " "
ASSI S1 "Boston, MA [617]"
BEGIN:
CLEA
LOCA 4,0
MESS" ╔══╡ BOSTON BBS NUMBERS ╞══╗"
MESS" ║ ║"
MESS" ║ A - BYTEnet listing ║"
MESS" ║ B - Fido / PC Week ║"
MESS" ║ C - Boston Computer Soc. ║"
MESS" ║ D - BCS Net Host ║"
MESS" ║ E - BCS Telecom ║"
MESS" ║ F - Byte Magazine ║"
MESS" ║ G - BCS IBM ║"
MESS" ║ H - Unicorn's Inn ║"
MESS" ║ M - Manual Dial ║"
MESS" ║ Q - Return to MAIN menu ║"
MESS" ║ ║"
MESS" ╠═══════════════════════════╣"
MESS" ║ ENTER YOUR CHOICES: ║"
MESS" ║ ║"
MESS" ╚═══════════════════════════╝"
LOCA 19,31
GET S0
TOP:
FIND S0 "A"
IF FOUN
ASSI S6"BYTEnet"
ASSI S8"8619774"
GOSU REDIALER
ELSE
ENDI
FIND S0 "B"
IF FOUN
ASSI S6"Fido / PC Week"
ASSI S8"5361917"
GOSU REDIALER
ELSE
ENDI
FIND S0 "C"
IF FOUN
ASSI S6"Boston Computer Society"
ASSI S8"2373750"
GOSU REDIALER
ELSE
ENDI
FIND S0 "D"
IF FOUN
ASSI S6"BCS Net Host"
ASSI S8"2373750"
GOSU REDIALER
ELSE
ENDI
FIND S0 "E"
IF FOUN
ASSI S6"BCS Telecom"
ASSI S8"7869788"
GOSU REDIALER
ELSE
ENDI
FIND S0 "F"
IF FOUN
ASSI S6"Byte Magazine"
ASSI S8"8619764"
GOSU REDIALER
ELSE
ENDI
FIND S0 "G"
IF FOUN
ASSI S6"BCS IBM"
ASSI S8"3325584"
GOSU REDIALER
ELSE
ENDI
FIND S0 "H"
IF FOUN
ASSI S6"Unicorn's Inn"
ASSI S8"4793432"
GOSU REDIALER
ELSE
ENDI
FIND S7 "MORE"
IF FOUN
ASSI S7" "
GOTO TOP
ELSE
ENDI
FIND S0 "M"
IF FOUN
CLEA
LOCA 5,20
MESS"NUMBER TO DIAL:"
LOCA 5,36
ASSI S6"MANUAL DIAL"
GET S8
GOSU REDIALER
ELSE
ENDI
FIND S0 "Q"
IF FOUN
CLEA
TRAN"!@!"
WAIT"@"
TRAN"D!"
WAIT"@"
CLEA
LOCA 1,0
PAUS 1
EXEC"SELCITY.CMD"
ELSE
ENDI
MESS"ALL NUMBERS IN DIALING QUEUE FAILED TO ANSWER"
MESSAGE "RETURNING TO MAIN MENU"
ALAR
ASSI S0 "Q"
GOTO TOP
REDIALER:
CLEA
ISFI S6
IF NOT SUCC
LOCA 5, 35
MESSAGE "DIALING"
MESSAGE " "
MESSAGE S6
MESS S8
TRAN"I!"
PAUS 1
TRAN"ATZ!"
WAITFOR "OK"
TRAN"^E!"
WAITFOR "READY"
TRAN"D"
TRAN S8
TRAN"!"
RGET S9
RGET S9 80 40
RGET S9 40 40
RGET S9 40 40
GOTMESS:
FIND S9 "BUSY"
IF FOUN
MESS S6
MESS S8
MESS"BUSY; GOING TO NEXT NUMBER"
MESS"******************************************************************"
ASSI S7"MORE"
GOTO RTRN
ENDI
FIND S9"ANSWER TONE"
IF FOUN
SET PARI NONE
SET DATA 8
CLEA
MESSAGE "CONNECTED TO"
MESS S8
MESS S6
MESS S1
ALAR
EXIT
ELSE
FIND S9 "RINGING"
IF FOUN
RGET S9
FIND S9 "RINGING"
IF FOUN
LOG OPEN S6
MESS"NO ANSWER - STILL RINGING"
MESS S8
MESS S6
MESS S1
LOG CLOSE
TRAN"^C^D^C"
MESS"*******************************************************************"
GOTO RTRN
ELSE
GOTO GOTMESS
ENDI
ENDI
ENDI
ENDI
RTRN:
RETURN